package com.weipai.turnplate.mapper;


import com.weipai.turnplate.model.Turnplate;
import com.weipai.turnplate.model.api.Response;
import com.weipai.turnplate.model.drawcode;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;
import java.util.Map;

public interface drawcodeMapper {

    List<drawcode> selectById(Integer[] id);




    List<drawcode> selectByVisible(Integer visible);

    List<Turnplate> selectByPrizeid(Integer prizeid);

    void save(drawcode drawcode1);

    List<drawcode> selectByDrawCode1(String drawcode);

    void deleteByPrimaryKey(String drawcode);


    Integer selectByid(Integer id);


    List<drawcode> selectByDrawCode(@Param("drawcode") String drawcode);

    void updatedrawcode(@Param("id") Integer[] id, @Param("drawcode") String[] drawcode, @Param("updateTime") Date updateTime);

    void updatebatch(@Param("id")Integer id,@Param("drawcode") String drawcode);
}